<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>云智投-后台</title>
		<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" />
		<link rel="stylesheet" href="/Css/custom.min.css?_v=1.2" />
		<link href="//cdn.bootcss.com/bootstrap-daterangepicker/2.1.24/daterangepicker.min.css" rel="stylesheet">
		<script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
		<!-- <script src="http://simba.shelpe.com/Js/dist/general.js?_v=4.01"></script>-->
		<script src="//cdn.bootcss.com/bootstrap-daterangepicker/2.1.24/moment.min.js"></script>
		<script src="//cdn.bootcss.com/bootstrap-datetimepicker/4.17.42/js/bootstrap-datetimepicker.min.js"></script>
	</head>
	<body>
		<script>
			$(document).ready(function(){
				$('.setOrder').on('click', function() {
					var old_asc = '{$asc}',
						old_order = '{$order}';
					var order = $(this).attr('data-order'),
						asc = old_order == order ? (old_asc == 'DESC' ? 'ASC' : 'DESC') : 'DESC';
					$("#search-order").val(order);
					$("#search-asc").val(asc);
					$('#search_form').submit();
				});
			});
		</script>
	